package com.surfilter.massdata.spark.model;

import java.util.Arrays;
import java.util.HashSet;

/**
 * 
 * oracle 列说明
 * 
 * @author liuchen
 *
 */
public class OracleField {
    public static final String ID = "ID";
    public static final String YEAR = "YEAR";
    public static final String HALF_YEAR = "HALF_YEAR";
    public static final String QUARTER = "QUARTER";
    public static final String WEEK = "WEEK";
    public static final String DAY = "DAY";
    public static final String MONTH = "MONTH";
    public static final String HOUR = "HOUR";
    public static final String BUSS_VALUE = "BUSS_VALUE";
    public static final String BUSS_TYPE = "BUSS_TYPE";
    public static final String BUSSINESS_TYPE = "BUSSINESS_TYPE";
    public static final String COUNT_VALUE = "COUNT_VALUE";
    public static final String STA_RANGE = "STA_RANGE";
    public static final String DIMENSION_VALUE = "DIMENSION_VALUE";
    public static final String DIMENSION_NAME = "DIMENSION_NAME";
    public static final String DIMENSION_CODE = "DIMENSION_CODE";
    public static final String WEBSITE_NAME = "WEBSITE_NAME";
    public static final String ICP_NUM = "ICP_NUM";
    public static final String RANK = "RANK";
    public static final String TREND = "TREND";
    public static final String TRAFFIC = "TRAFFIC";
    public static final String DOMAIN = "DOMAIN";
    public static final String STATS_TIME = "STATS_TIME";
    public static final String STATS_VALUE = "STATS_VALUE";
    public static final String CLIENT_IP = "CLIENT_IP";
    public static final String REGION_CODE = "REGION_CODE";
    public static final String REGION_NAME = "REGION_NAME";
    public static final String OPERATOR_NAME = "OPERATOR_NAME";
    public static final String OPERATOR_CODE = "OPERATOR_CODE";
    public static final String TYPE_CODE = "TYPE_CODE";
    public static final String TYPE_NAME = "TYPE_NAME";

    public static final HashSet<String> numberFields = new HashSet<String>(Arrays.asList(
            YEAR, HALF_YEAR, QUARTER, WEEK, MONTH, DAY, HOUR, STA_RANGE, RANK, COUNT_VALUE
    ));
}

